﻿package com.bizmlib.utils
{
	
	public function sign(number:Number, noZeroValue:Boolean = false):Number
	{
		if(number>0)
		{
			return 1;
		}
		else if(number < 0)
		{
			return -1;
		}
		
		return noZeroValue ? 1 : 0;
	}
}